
///player_handle_movement();
// Increase/Decrease the aircraft's speed
if (objPlayer.engine_burn=true)
{
speed+=objPlayer.engine_speed;
}
else if (objPlayer.cruise_mode=false)
{
speed-=objPlayer.engine_cooler;
}
// Stop the exceeding speeds
if (speed>objPlayer.max_speed)
{
speed=objPlayer.max_speed;
}

if (speed<0){speed=0;}
// Direction handling
direction+=math_turn_smooth(direction,facing,engine_acceleration);
